package com.tju.ocean_ecology_website.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 教育资源表(EducationResource)实体类
 *
 * @author shaolong
 * @since 2025-04-29 19:31:59
 */
public class EducationResource implements Serializable {
    private static final long serialVersionUID = 409295304128346021L;
/**
     * 教育资源ID
     */
    private Long id;
/**
     * 资源标题
     */
    private String title;
/**
     * 资源描述
     */
    private String description;
/**
     * 资源类型：0-文章, 1-视频, 2-课程, 3-资料
     */
    private Integer type;

    private String coverImage;
/**
     * 资源内容
     */
    private String content;
/**
     * 浏览次数
     */
    private Integer viewCount;
/**
     * 作者
     */
    private String author;
/**
     * 发布时间
     */
    private Date publishTime;
/**
     * 状态：0-草稿, 1-已发布, 2-已归档
     */
    private Integer status;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

